<li ng-repeat="tab in tabs" ng-class="{ active: tab.isSelected() }">
  <a ng-href="{{tab.href()}}" ng-click="tab.click($event);">{{tab.title() | translate}}</a>
</li>